package run;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan({ "nn.db.mapper" })
//@SpringBootApplication(scanBasePackages = { "nn.api.*" })
@SpringBootApplication(scanBasePackages = { "nn.db", "nn.common","nn.api" })
@EnableTransactionManagement
@EnableScheduling
public class DbtestApplication {

    //dd
    public static void main(String[] args) {
        SpringApplication.run(DbtestApplication.class, args);

    }

}
